<?xml version="1.0" encoding="utf-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window" component="$UI/system/components/justep/window/window"
  design="device:m;">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="top:191px;left:16px;height:auto;"
    onParamsReceive="modelParamsReceive"> 
    <div component="$UI/system/components/justep/data/data" autoLoad="true"
      xid="SendLogLists_Data" idColumn="fID" confirmRefresh="false"> 
      <column name="fID" type="String" xid="xid1"/>  
      <column name="CustomerName" type="String" xid="xid2"/>  
      <column name="Date" type="String" xid="xid3"/>  
      <column name="Products" type="String" xid="xid4"/>  
      <column name="SN" type="String" xid="xid5"/>  
      <column name="IsAudit" type="String" xid="xid6"/>  
      <column name="MainFID" type="String" xid="xid7"/> 
    </div>  
    <div component="$UI/system/components/justep/data/data" autoLoad="true"
      xid="SendLogListsSell_Data" idColumn="fID" confirmRefresh="false"> 
      <column name="fID" type="String" xid="column1"/>  
      <column name="Address" type="String" xid="column2"/>  
      <column name="Apply" type="String" xid="column3"/>  
      <column name="ApplyDate" type="String" xid="column4"/>  
      <column name="City" type="String" xid="column5"/>  
      <column name="County" type="String" xid="column6"/>  
      <column name="CtmNo" type="String" xid="column7"/>  
      <column name="DeliveryDate" type="String" xid="xid8"/>  
      <column name="ID" type="String" xid="xid9"/>  
      <column name="InfoID" type="String" xid="xid10"/>  
      <column name="Phone" type="String" xid="xid11"/>  
      <column name="Products" type="String" xid="xid12"/>  
      <column name="Province" type="String" xid="xid13"/>  
      <column name="SN" type="String" xid="xid14"/>  
      <column name="SellName" type="String" xid="xid15"/> 
    </div> 
  </div>  
  <div component="$UI/system/components/justep/panel/panel" class="x-panel x-full"
    xid="panel1"> 
    <div class="x-panel-top" xid="top1"> 
      <div component="$UI/system/components/justep/titleBar/titleBar" class="x-titlebar bg-success "
        xid="titleBar1" title="发货记录"> 
        <div class="x-titlebar-left  " xid="left1"/>  
        <div class="x-titlebar-title " xid="title1">发货记录</div>  
        <div class="x-titlebar-right  " xid="right1"/> 
      </div> 
    </div>  
    <div class="x-panel-content" xid="content1" style="background-color:#F8F8F8;padding:0;margin:0"> 
      <div component="$UI/system/components/justep/button/buttonGroup" class="btn-group x-card"
        tabbed="true" xid="buttonGroup1" style="width:100%;height:36px;"> 
        <a component="$UI/system/components/justep/button/button" class="btn btn-default"
          label="分销记录" xid="LogBtn" onClick="LogBtnClick" style="width:50%;height:100%;" target="content1"> 
          <i xid="i8"/>  
          <span xid="span10">分销记录</span> 
        </a>  
        <a component="$UI/system/components/justep/button/button" class="btn btn-default"
          label="直销记录" xid="SellBtn" onClick="SellBtnClick" style="width:50%;height:100%;" target="content4"> 
          <i xid="i9"/>  
          <span xid="span11">直销记录</span> 
        </a> 
      </div>  
      <div component="$UI/system/components/justep/contents/contents" class="x-contents"
        active="0" xid="contents1" style="height:100%;"> 
        <div class="x-contents-content  x-scroll-view" xid="content1"> 
          <div class="x-scroll" component="$UI/system/components/justep/scrollView/scrollView"
            xid="scrollView1"> 
            <div class="x-content-center x-pull-down container" xid="div1"> 
              <i class="x-pull-down-img glyphicon x-icon-pull-down" xid="i3"/>  
              <span class="x-pull-down-label" xid="span3">下拉刷新...</span> 
            </div>  
            <div class="x-scroll-content" xid="div2"> 
              <div component="$UI/system/components/justep/row/row" class="x-row"
                xid="row1" style="background-color:#F0F0F0;border-style:solid solid solid solid;border-width:1px 1px 1px 1px;border-color:#C0C0C0 #C0C0C0 #C0C0C0 #C0C0C0;padding:0;margin:0"> 
                <div class="x-col" xid="col1" style="padding:0;margin:0"> 
                  <div component="$UI/system/components/justep/list/list" class="x-list"
                    xid="list1" data="SendLogLists_Data" autoLoad="false" onAfterRender="list1AfterRender"> 
                    <ul class="x-list-template" xid="listTemplateUl1"> 
                      <li xid="li1"> 
                        <div component="$UI/system/components/justep/row/row"
                          class="x-row" xid="row7" style="padding:0;margin:8px;background-color:#FFFFFF;width:95%;"> 
                          <div class="x-col" xid="col9" style="padding:0;margin:0"> 
                            <div component="$UI/system/components/justep/row/row"
                              class="x-row" xid="row5" style="padding:0;margin:0;color:#FFFFFF;"
                              bind-css=" " bind-style="{&quot;background-color&quot;: $object.val('IsAudit')?'green':'red'}"> 
                              <div class="x-col x-col-25 x-col-center" xid="col3"
                                style=" margin:0"> 
                                <label xid="label7"><![CDATA[订单编号]]></label> 
                              </div>  
                              <div class="x-col x-col-center" xid="col2" style=" margin:0"> 
                                <label xid="label2" bind-text="val(&quot;SN&quot;)">订单编号</label> 
                              </div>  
                              <div class="x-col x-col-fixed" xid="col6" style="text-align:right;width:auto;"> 
                                <a component="$UI/system/components/justep/button/button"
                                  class="btn x-green btn-xs" label="删除订单" xid="DeleteItem"
                                  bind-visible="$object.val('IsAudit') == false" onClick="DeleteItemClick"
                                  style="background-color:#339966;"> 
                                  <i xid="i2"/>  
                                  <span xid="span2">删除订单</span> 
                                </a>  
                                <a component="$UI/system/components/justep/button/button"
                                  class="btn btn-default btn-xs" label="继续扫码" xid="GoToAddProduct_Button"
                                  bind-visible="$object.val('IsAudit') == false" onClick="GoToAddProduct_ButtonClick"> 
                                  <i xid="i1"/>  
                                  <span xid="span1">继续扫码</span> 
                                </a> 
                              </div> 
                            </div>  
                            <div component="$UI/system/components/justep/row/row"
                              class="x-row" xid="row6" style="padding:0;margin:0"> 
                              <div class="x-col x-col-25 x-col-center" xid="col16"
                                style=" margin:0"> 
                                <label xid="label9"><![CDATA[客户名称]]></label> 
                              </div>  
                              <div class="x-col x-col-center" xid="col17" style=" margin:0"> 
                                <label xid="label8" bind-text="val(&quot;CustomerName&quot;)">客户名称</label> 
                              </div> 
                            </div>  
                            <div component="$UI/system/components/justep/row/row"
                              class="x-row" xid="row2" style="padding:0;margin:0"> 
                              <div class="x-col x-col-25 x-col-center" xid="col4"
                                style="margin:0"> 
                                <label xid="label1"><![CDATA[时间]]></label> 
                              </div>  
                              <div class="x-col x-col-center" xid="col5" style="margin:0"> 
                                <label xid="label10" bind-text="val(&quot;Date&quot;)">时间</label> 
                              </div> 
                            </div>  
                            <div component="$UI/system/components/justep/row/row"
                              class="x-row" xid="row8"> 
                              <div class="x-col" xid="col13"/> 
                            </div> 
                          </div> 
                        </div> 
                      </li> 
                    </ul> 
                  </div> 
                </div> 
              </div> 
            </div>  
            <div class="x-content-center x-pull-up" xid="div4"> 
              <span class="x-pull-up-label" xid="span4">加载更多...</span> 
            </div> 
          </div> 
        </div>  
        <div class="x-contents-content  x-scroll-view" xid="content4"> 
          <div class="x-scroll" component="$UI/system/components/justep/scrollView/scrollView"
            xid="scrollView2"> 
            <div class="x-content-center x-pull-down container" xid="div8"> 
              <i class="x-pull-down-img glyphicon x-icon-pull-down" xid="i6"/>  
              <span class="x-pull-down-label" xid="span6">下拉刷新...</span> 
            </div>  
            <div class="x-scroll-content" xid="div6"> 
              <div component="$UI/system/components/justep/row/row" class="x-row"
                xid="row3" style="background-color:#F0F0F0;border-style:solid solid solid solid;border-width:1px 1px 1px 1px;border-color:#C0C0C0 #C0C0C0 #C0C0C0 #C0C0C0;padding:0;margin:0"> 
                <div class="x-col" xid="col20" style="padding:0;margin:0"> 
                  <div component="$UI/system/components/justep/list/list" class="x-list"
                    xid="list2" data="SendLogListsSell_Data" autoLoad="false" onAfterRender="list2AfterRender"> 
                    <ul class="x-list-template" xid="listTemplateUl2"> 
                      <li xid="li4"> 
                        <div component="$UI/system/components/justep/row/row"
                          class="x-row" xid="row4" style="padding:0;margin:8px;background-color:#FFFFFF;width:95%;"> 
                          <div class="x-col" xid="col11" style="padding:0;margin:0"> 
                            <div component="$UI/system/components/justep/row/row"
                              class="x-row" xid="row12" style="padding:0;margin:0;color:#FFFFFF;"
                              bind-css=" " bind-style="{&quot;background-color&quot;: $object.val('IsAudit')?'green':'green'}"> 
                              <div class="x-col x-col-25 x-col-center" xid="col19"
                                style=" margin:0"> 
                                <label xid="label3">订单编号</label> 
                              </div>  
                              <div class="x-col x-col-center" xid="col18" style=" margin:0"> 
                                <label xid="label12" bind-text="val(&quot;SN&quot;)">订单编号</label> 
                              </div>  
                              <div class="x-col x-col-fixed" xid="col12" style="text-align:right;width:auto;"> 
                                <a component="$UI/system/components/justep/button/button"
                                  class="btn x-green btn-xs" label="删除订单" xid="button1"
                                  bind-visible="$object.val('IsAudit') == false" onClick="DeleteItemClick"
                                  style="background-color:#339966;"> 
                                  <i xid="i5"/>  
                                  <span xid="span5">删除订单</span> 
                                </a>  
                                <a component="$UI/system/components/justep/button/button"
                                  class="btn btn-default btn-xs" label="继续扫码" xid="button2"
                                  bind-visible="$object.val('IsAudit') == false" onClick="GoToAddProduct_ButtonClick"> 
                                  <i xid="i4"/>  
                                  <span xid="span8">继续扫码</span> 
                                </a> 
                              </div> 
                            </div>  
                            <div component="$UI/system/components/justep/row/row"
                              class="x-row" xid="row9" style="padding:0;margin:0"> 
                              <div class="x-col x-col-25 x-col-center" xid="col8"
                                style=" margin:0"> 
                                <label xid="label5">客户名称</label> 
                              </div>  
                              <div class="x-col x-col-center" xid="col7" style=" margin:0"> 
                                <label xid="label4" bind-text='val("SellName")'>客户名称</label> 
                              </div> 
                            </div>  
                            <div component="$UI/system/components/justep/row/row"
                              class="x-row" xid="row11" style="padding:0;margin:0"> 
                              <div class="x-col x-col-25 x-col-center" xid="col14"
                                style="margin:0"> 
                                <label xid="label11">时间</label> 
                              </div>  
                              <div class="x-col x-col-center" xid="col15" style="margin:0"> 
                                <label xid="label6" bind-text='val("DeliveryDate")'>时间</label> 
                              </div> 
                            </div>  
                            <div component="$UI/system/components/justep/row/row"
                              class="x-row" xid="row10"> 
                              <div class="x-col" xid="col10"/> 
                            </div> 
                          </div> 
                        </div> 
                      </li> 
                    </ul> 
                  </div> 
                </div> 
              </div> 
            </div>  
            <div class="x-content-center x-pull-up" xid="div5"> 
              <span class="x-pull-up-label" xid="span7">加载更多...</span> 
            </div> 
          </div> 
        </div> 
      </div> 
    </div> 
  </div>  
  <div component="$UI/system/components/justep/popOver/popOver" class="x-popOver"
    direction="auto" xid="LoadingPopOver" dismissible="false" style="top:266px;left:19px;"> 
    <div class="x-popOver-overlay" xid="div3"/>  
    <div class="x-popOver-content" xid="div7"> 
      <i xid="i7" class="icon-loading-a" style="font-size:50px;"/> 
    </div> 
  </div> 
</div>
